//
//  APIConfig.h
//  Around
//
//  Created by 华谕 on 2017/6/13.
//  Copyright © 2017年 HUYU. All rights reserved.
//

#ifndef APIConfig_h
#define APIConfig_h

#define kAppVersion @"kAppVersion"//App版本

//登录状态
#define SERVER_IsLogin @"isLogin"
#define SERVER_isPass @"isShenghe"

//用户ID
#define SERVER_UserID @"userid"
//登录Token
#define SERVER_LoginToken @"loginToken"
//手机号码
#define SERVER_Phone @"userphone"
//地区
#define SERVER_sheng @"provce"
#define SERVER_shi @"theCity"
#define SERVER_qu @"theArea"
#define SERVER_shengName @"provceName"
#define SERVER_shiName @"theCityName"
#define SERVER_quName @"theAreaName"

//注册请求验证码
#define SERVER_CodeRegister @"/c/code/msgCode"
//登录
#define SERVER_UserLogin @"/c/userLogin/login"
//退出登录
#define SERVER_UserLogout @"/c/userLogin/logout"

//注册
#define SERVER_Register @"/c/userLogin/register"
//地区
#define SERVER_areaList @"/c/area/findAll"
//  修改密码, [type]{2：忘记密码，3：修改密码，4：修改支付密码：5：修改回购密码
#define SERVER_updatePsw @"/c/userLogin/updatePsw"
//用户信息
#define SERVER_userInfo @"/c/user/userInfo"
//修改用户信息
#define SERVER_updateInfo @"/c/user/updateInfo"
//修改手机号
#define SERVER_updatePhone @"/c/user/updatePhone"
//账单列表
#define SERVER_userWalletInfo @"/c/userWalletInfo/findAllWithPage"
//银行列表
#define SERVER_BankList @"/c/bank/findAll"
//添加银行卡
#define SERVER_AddBankCar @"/c/bankCard/add"
//银行卡列表
#define SERVER_BankCarList @"/c/bankCard/findAll"
//新增地址
#define SERVER_SaveAddress @"/c/address/save"
//地址列表
#define SERVER_AddressList @"/c/address/findAll"
//设为默认
#define SERVER_AddsetDefault @"/c/address/setDefault"

//删除
#define SERVER_AddressDelete @"/c/address/delete"

//分销统计
#define SERVER_myDistrion @"/c/distribution/myDistribution"
//分销成员列表
#define SERVER_DistriList @"/c/distribution/memberDistribution"

//消息反馈
#define SERVER_Feedbacksave @"/c/msgFeedback/save"


//文件上传
#define SERVER_fileUpload @"/c/file/upload"

//通用设置
#define SERVER_systemConfig @"/c/systemConfig/findByKeys"

//协议
#define SERVER_agreement @"/c/agreement/findAll"
//体验馆
#define SERVER_experienceShop @"/c/experienceShop/findAll"
//递送需求
#define SERVER_delivery @"/c/deliveryDemand/create"
//技术区商品分类
#define SERVER_productType @"/c/productType/findAll"
//技术区商品详情
#define SERVER_productSelect @"/c/product/select"
//添加到购物车或修改
#define SERVER_AddshoppingCart @"/c/shoppingCart/save"
//技术区首页
#define SERVER_TechnologyHome @"/c/homePage/technology"
//购物车列表
#define SERVER_ShoppingCartList @"/c/shoppingCart/page"
//购物车删除
#define SERVER_ShoppingCartDelete @"/c/shoppingCart/deleteByIds"
//下单
#define SERVER_OrderMaster @"/c/orderMaster/create"
//支付
#define SERVER_WalletPay @"/c/walletPay/oneIntegralPay"
//计算价格
#define SERVER_CalPrice @"/c/orderMaster/calPrice"
//订单列表
#define SERVER_OrderList @"/c/orderMaster/page"
//取消订单
#define SERVER_OrderCancel @"/c/orderMaster/cancel"
//确认订单
#define SERVER_OrderSoure @"/c/orderMaster/confirm"
//催促发货
#define SERVER_OrderUrgeDeliver @"/c/orderMaster/urgeDeliver"

//公钥 /c/rsaKey/publicKey
#define SERVER_PublicKey @"/c/rsaKey/publicKey"
//默认邀请码
#define SERVER_findByKey @"/c/systemConfig/findByKey"
//充值
#define SERVER_recharge @"/c/recharge/create"
//钱包
#define SERVER_walletInfo @"/c/userWallet/walletInfo"
//提现
#define SERVER_Userwithdraw @"/c/withdraw/withdraw"
//二维码
#define SERVER_userRegQrCode @"/c/qrCode/userRegQrCode"
//生活区
#define SERVER_LifeHomePage @"/c/homePage/life"
//商品列表
#define SERVER_LifeGoodsList @"/c/product/page"
//小分类
#define SERVER_LifeproductType @"/c/productType/findAll"
//商品所有小分类
#define SERVER_LifeAllsmollType @"/c/product/byParentProductTypeId"
//搜索商品
#define SERVER_goodsSearch @"/c/product/findAll"
//数量提醒
#define SERVER_numRemind @"/c/orderMaster/numRemind"
//查看物流
#define SERVER_ExpressInfo @"/c/orderMaster/expressInfo"
//申请退款
#define SERVER_refundConfirm @"/c/refund/confirm"
//银行卡删除
#define SERVER_bankCarDelete @"/c/bankCard/delete"
//消息列表
#define SERVER_msgPush @"/c/msgPush/page"
//支付通道
#define SERVER_paymentChannel @"/c/paymentChannel/create"
//审核
#define SERVER_CheckVersion @"/c/freeLogin/iosCheckVersionPass"
//生产区首页
#define SERVER_productHome @"/c/homePage/product"
//搜索条件
#define SERVER_queryData @"/c/common/queryData"
//新生产区技术区合并
#define SERVER_NewProductHom @"/c/homePage/productV2"
//新立即购买
#define SERVER_NewOrderbuy @"/c/orderMaster/createV2"
//新微信支付
#define SERVER_NewWechatPay @"/c/wechatPay/appPayInfoV2"
//新支付宝
#define SERVER_NewAliPay @"/c/aliPay/appPayInfoV2"
//商品参数
#define SERVER_lookParameter @"/c/productParameter/findAll"
//特惠区
#define SERVER_HomeDiscount @"/c/homePage/discount"



#endif /* APIConfig_h */

//服务器地址
#if 1
#define SERVER_HOST @"https://app.prpor.com"

#else
#define SERVER_HOST @"http://192.168.0.31:8100"


#endif /* APIConfig_h */

